package com.woniuxy.yoga.progress.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Set;

@Data
@ApiModel("上课记录")
public class TeamRegisterForm {

    /**
     * 教练id
     */
    @ApiModelProperty("教练id")
    @NotNull
    private Integer coachId;

    /**
     * 团课id
     */
    @ApiModelProperty("团课id")
    @NotNull
    private Integer teamCourseId;

    /**
     * 上课人数
     */
    @ApiModelProperty("上课人数")
    @NotNull
    private Integer classCount;

    /**
     * 缺课用户ids
     */
    @ApiModelProperty("缺课用户ids")
    @NotNull
    private Set<Integer> absentUser;
}
